package com.fluagen.client.lsp;


import com.fluagen.client.lsp.api.ClientAPIVerticle;

import io.vertx.core.AbstractVerticle;
import io.vertx.core.DeploymentOptions;
import io.vertx.core.Future;

public class MainVerticle extends AbstractVerticle{

	@Override
	public void start(Future<Void> startFuture) throws Exception {
		
		vertx.deployVerticle(ClientAPIVerticle.class.getName(), new DeploymentOptions(), e -> {
			if (e.succeeded()) {
				startFuture.complete();
			}else {
				startFuture.fail(e.cause());
			}
		});

	}
	
	public static void main(String[] args){
		Runner.deploy(MainVerticle.class);
	}
}
